import http from '../../utils/http'
const BASE_URL = 'http://192.168.221.237:8006'

//用户查询的初始化数据
const getUser = (obj) => http({
    url: `${BASE_URL}/service_user/user/findAllUser`,
    method: 'post',
    data: { ...obj }
})

//编辑标签接口
const setTag = (obj) => http({
    url: `${BASE_URL}/service_user/user/updateLabel`,
    method: 'post',
    params: { ...obj }
})

//修改积分接口
const editIntegral = (obj) => http({
    url: `${BASE_URL}/service_user/user/updateIntegral`,
    method: 'post',
    data: { ...obj }
})

export { getUser, setTag, editIntegral }